<%@page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>带参数的forward动作标记</title>
</head>
<body bgcolor="#00ffff">
<%
   // 获取forward页面传入的账号信息
    String name = request.getParamenter("username");
    //获取forward页面传入的密码信息
    String pw = request.getParamenter("password");
    //网页上用Java显示内容
    out.println("你的用户名是："+name);
    out.println("你的密码是："+pw);
%>
</body>
</html>